#if !defined(AFX_GXCONFIRMEVENTSINK_H__F1D07129_5909_4C94_B4F9_E70D58A23680__INCLUDED_)
#define AFX_GXCONFIRMEVENTSINK_H__F1D07129_5909_4C94_B4F9_E70D58A23680__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GxConfirmEventSink.h : header file
//

#include "p2.h"

/////////////////////////////////////////////////////////////////////////////
// GxConfirmEventSink command target
class COrderManager;

class GxConfirmEventSink : public CCmdTarget
{
	DECLARE_DYNCREATE(GxConfirmEventSink)

	GxConfirmEventSink();           // protected constructor used by dynamic creation

// Attributes
public:

// Operations
public:
	COrderManager* OrderMgr() const { return m_pOrderMgr; }
	void OrderMgr(COrderManager* val) { m_pOrderMgr = val; }
	DWORD m_Cookie;
	IGxConfirms m_lpConfirms;
private:
	COrderManager* m_pOrderMgr;
	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(GxConfirmEventSink)
	public:
	virtual void OnFinalRelease();
	//}}AFX_VIRTUAL
	virtual ~GxConfirmEventSink();

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(GxConfirmEventSink)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
	// Generated OLE dispatch map functions
	//{{AFX_DISPATCH(GxConfirmEventSink)
	afx_msg void OnNewConfirm(LPDISPATCH a_GxConfirm);
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()
	DECLARE_INTERFACE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GXCONFIRMEVENTSINK_H__F1D07129_5909_4C94_B4F9_E70D58A23680__INCLUDED_)
